home *** CD-ROM | disk | FTP | other *** search
/ Willard Press Kit / Willard Press Kit.iso / mac / Acrobat Reader 5 PC / plug_ins / Webbuy.api / EXVW / 20006 < prev   
Text File  |  2002-12-14  |  3KB  |  80 lines

  1. gSecInfoStatus = max(
  2.     zstring_width(zstring: '$$$SecurityInfoAllowed'),
  3.     zstring_width(zstring: '$$$SecurityInfoNotAllowed'),
  4.     zstring_width(zstring: '$$$Yes'),
  5.     zstring_width(zstring: '$$$No'),
  6.     zstring_width(zstring: '$$$SecurityInfoPrintNone'),
  7.     zstring_width(zstring: '$$$SecurityInfoPrintBasic'),
  8.     zstring_width(zstring: '$$$SecurityInfoPrintPS'));
  9.  
  10. gLabelMethod = zstring_width(zstring: '$$$/Dialogs/SecurityInfo/Method');
  11. gLabelPrinting = zstring_width(zstring: '$$$/Dialogs/SecurityInfo/Printing');
  12. gLabelHighPrint = zstring_width(zstring: '$$$/Dialogs/SecurityInfo/HighPrint');
  13. gLabelChangeable = zstring_width(zstring: '$$$/Dialogs/SecurityInfo/Changeable');
  14. gLabelExtract= zstring_width(zstring: '$$$/Dialogs/SecurityInfo/Extract');
  15. gLabelEditNotes = zstring_width(zstring: '$$$/Dialogs/SecurityInfo/EditNotes');
  16. gLabelFillandSign = zstring_width(zstring: '$$$/Dialogs/SecurityInfo/FillandSign');
  17. gLabelAccessibility = zstring_width(zstring: '$$$/Dialogs/SecurityInfo/Accessibility');
  18. gLabelItemWidth = max(
  19.     gLabelMethod,
  20.     gLabelPrinting,
  21.     gLabelHighPrint,
  22.     gLabelChangeable,
  23.     gLabelExtract,
  24.     gLabelEditNotes,
  25.     gLabelFillandSign,
  26.     gLabelAccessibility)+ max_char_width();
  27.  
  28. dialog(name: '$$$/Dialogs/SecurityInfo/Title')
  29. {
  30.     group()
  31.     {
  32.         view(align_children: align_light)
  33.         {
  34.             view(align_children: align_top)
  35.             {
  36.                 gap( width: gLabelItemWidth - gLabelMethod );
  37.                 static_text(name: '$$$/Dialogs/SecurityInfo/Method');
  38.                 static_text(item_id: 'Smet', width:gSecInfoStatus);
  39.             }
  40.             view(align_children: align_row)
  41.             {
  42.                 gap( width: gLabelItemWidth - gLabelPrinting );
  43.                 static_text(name: '$$$/Dialogs/SecurityInfo/Printing');
  44.                 static_text(item_id: 'Prin', width: gSecInfoStatus);
  45.             }
  46.             view(align_children: align_row)
  47.             {
  48.                 gap( width: gLabelItemWidth - gLabelChangeable );
  49.                 static_text(name: '$$$/Dialogs/SecurityInfo/Changeable');
  50.                 static_text(item_id: 'Edit', width: gSecInfoStatus);
  51.             }
  52.             view(align_children: align_row)
  53.             {
  54.                 gap( width: gLabelItemWidth - gLabelExtract );
  55.                 static_text(name: '$$$/Dialogs/SecurityInfo/Extract');
  56.                 static_text(item_id: 'Copy', width: gSecInfoStatus);
  57.             }
  58.             view(align_children: align_row)
  59.             {
  60.                 gap( width: gLabelItemWidth - gLabelEditNotes );
  61.                 static_text(name: '$$$/Dialogs/SecurityInfo/EditNotes');
  62.                 static_text(item_id: 'Note', width: gSecInfoStatus);
  63.             }
  64.             view(align_children: align_row)
  65.             {
  66.                 gap( width: gLabelItemWidth - gLabelFillandSign );
  67.                 static_text(name: '$$$/Dialogs/SecurityInfo/FillandSign');
  68.                 static_text(item_id: 'Fill', width: gSecInfoStatus);
  69.             }
  70.             view(align_children: align_row)
  71.             {
  72.                 gap( width: gLabelItemWidth - gLabelAccessibility );
  73.                 static_text(name: '$$$/Dialogs/SecurityInfo/Accessibility');
  74.                 static_text(item_id: 'Acce', width:gSecInfoStatus);
  75.             }
  76.         }
  77.     ok();
  78.     }
  79. }
  80.